def geturl(url):
    #用户代理，告诉京东我们是什么类型的浏览器，模拟浏览器头部信息

    head={"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.80 Safari/537.36 Edg/98.0.1108.50",
          "cookie": "__jdv=76161171|cn.bing.com|-|referral|-|1645008188020; __jdu=1645008188016632137645; areaId=21; PCSYCityID=CN_360000_360100_0; shshshfpa=4b7d13a4-c365-104d-ceba-b16de7169017-1645008195; shshshfpb=iMTN2bxSHOlq2g4lcM5dngg; __jdc=122270672; shshshfp=44e8dac2472eccb04fdba9d7966002c4; ip_cityCode=1827; ipLoc-djd=21-1827-4101-40925; __jda=122270672.1645008188016632137645.1645008188.1645008188.1645012897.2; token=61972ffe547eb526df17cebd0adf958f,2,913896; __tk=268004ef498e4d9bd1d83f73ebba25b3,2,913896; 3AB9D23F7A4B3C9B=5PE2DUDJPG5DF4QI4ZLYWJKJSCKUMG4WRDCKSA4Z7EQX2FV2CKCLMEDGNUG7I73RQ5VI3BYTDDPNOG2ESZLD4OOP2E; __jdb=122270672.4.1645008188016632137645|2.1645012897; shshshsID=d91329297f776e8e51c55a885fd03a4b_4_1645013425000"}
    req=urllib.request.Request(url=url, headers=head)
    html = ""
    response = urllib.request.urlopen(req)
    html = response.read().decode("GBK")
    retur